package com.thinkgem.jeesite.modules.book.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.book.entity.BkType;

import java.util.List;

/**
 * 审批DAO接口
 * @author thinkgem
 * @version 2014-05-16
 */
@MyBatisDao
public interface BookTypeDao extends CrudDao<BkType>{


    public  List<BkType> getAll();

    public void save(BkType bkType);

    public void delete(Integer id);

    public BkType getone(String id);

    void updateone(BkType bkType);

    List<BkType> getbyPid(String pid);

    BkType getByTypeName(String classcode);
}
